package cn.ante.ymcc.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RegisterDto {

    private String imageCodeKey;
    @NotEmpty(message = "图形验证码不能为空")
    private String imageCode;
    @NotEmpty(message = "手机号不能为空")
    private String mobile;
}
